package com.adbj.nullpointer;

import java.util.Optional;

public class Test {

    public static void main(String[] args) {
        User user=new User("fan","23");
        Optional<  User > optionalUser =Optional.ofNullable(null);
        optionalUser.ifPresent(ouser->{
            
        });
            Object
    }
}
